Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
CTelephonyService Class Reference

CTelephonyService handles and manipulates telephony services. More...

Public Member Functions

void setAutoRegistration (bool)
 Enables or disables auto registration. More...
 
bool isAutoRegEnabled ()
 Returns true if auto registration is enabled, otherwise false. More...
 
void setMaxEphone (int)
 Sets the maximum number of ephones. More...
 
int getMaxEphoneNumber ()
 Returns the maximum number of ephones. More...
 
void setMaxDnNumber (int)
 Sets the maximum number of directory numbers. More...
 
int getMaxDnNumber ()
 Returns the maximum number of directory numbers. More...
 
void setSourcePort (int)
 Sets the source port number. More...
 
int getSourcePort ()
 Returns the source port number. More...
 
void setSystemMessage (string)
 Sets the system message. More...
 
void setAutoAssign (int, int)
 Sets the auto assign directory numbers. More...
 
int getAutoAssignCount ()
 Returns the number of auto assigned directory numbers. More...
 
int getAutoAssignStartDnAt (int)
 Returns the auto assigned start directory number at the specified index. More...
 
int getAutoAssignStopDnAt (int)
 Returns the auto assigned stop directory number at the specified index. More...
 

Detailed Description

CTelephonyService handles and manipulates telephony services.

Member Function Documentation

◆ getAutoAssignCount()

int CTelephonyService::getAutoAssignCount ( )

Returns the number of auto assigned directory numbers.

Returns
int, the number of auto assigned directory numbers.

◆ getAutoAssignStartDnAt()

int CTelephonyService::getAutoAssignStartDnAt ( int  )

Returns the auto assigned start directory number at the specified index.

Parameters
index,theindex of the auto assigned start directory number of interest.
Returns
int, the auto assigned start directory number at the specified index.

◆ getAutoAssignStopDnAt()

int CTelephonyService::getAutoAssignStopDnAt ( int  )

Returns the auto assigned stop directory number at the specified index.

Parameters
index,theindex of the auto assigned stop directory number of interest.
Returns
int, the auto assigned stop directory number at the specified index.

◆ getMaxDnNumber()

int CTelephonyService::getMaxDnNumber ( )

Returns the maximum number of directory numbers.

Returns
int, the maximum number of directory numbers.

◆ getMaxEphoneNumber()

int CTelephonyService::getMaxEphoneNumber ( )

Returns the maximum number of ephones.

Returns
int, the maximum number of ephones.

◆ getSourcePort()

int CTelephonyService::getSourcePort ( )

Returns the source port number.

Returns
int, the source port number.

◆ isAutoRegEnabled()

bool CTelephonyService::isAutoRegEnabled ( )

Returns true if auto registration is enabled, otherwise false.

Returns
bool, true if auto registration is enabled, otherwise false.

◆ setAutoAssign()

void CTelephonyService::setAutoAssign ( int  ,
int   
)

Sets the auto assign directory numbers.

Parameters
startTag,thestart directory numbers.
stopTag,thestop directory numbers.

◆ setAutoRegistration()

void CTelephonyService::setAutoRegistration ( bool  )

Enables or disables auto registration.

Parameters
bVal,trueto enable auto registration.

◆ setMaxDnNumber()

void CTelephonyService::setMaxDnNumber ( int  )

Sets the maximum number of directory numbers.

Parameters
maxDnNum,themaximum number of directory numbers.

◆ setMaxEphone()

void CTelephonyService::setMaxEphone ( int  )

Sets the maximum number of ephones.

Parameters
maxEphNum,themaximum number of ephones.

◆ setSourcePort()

void CTelephonyService::setSourcePort ( int  )

Sets the source port number.

Parameters
portNum,thesource port number.

◆ setSystemMessage()

void CTelephonyService::setSystemMessage ( string  )

Sets the system message.

Parameters
msg,thesystem message.

The documentation for this class was generated from the following file: